package com.gml.design.principle.openclose;

import com.gml.design.principle.openclose.impl.CalculationArea;
import com.gml.design.principle.openclose.impl.CalculationAreaExt;

public class Test {

    public static void main(String[] args) {
        ICalculationArea calculationArea = new CalculationArea();
        System.out.println(calculationArea.circular(10));

        //提高精度后
        ICalculationArea calculationArea2 = new CalculationAreaExt();
        System.out.println(calculationArea2.circular(10));
    }

}
